/*!
 * Remark Material (http://getbootstrapadmin.com/remark)
 * Copyright 2017 amazingsurge
 * Licensed under the Themeforest Standard Licenses
 */

!function(global,factory){if("function"==typeof define&&define.amd)define("/Plugin/peity",["exports","jquery","Plugin","Config"],factory);else if("undefined"!=typeof exports)factory(exports,require("jquery"),require("Plugin"),require("Config"));else{var mod={exports:{}};factory(mod.exports,global.jQuery,global.Plugin,global.Config),global.PluginPeity=mod.exports}}(this,function(exports,_jquery,_Plugin5,_Config){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PeityPie=exports.PeityDonut=exports.PeityLine=exports.PeityBar=void 0;var _jquery2=babelHelpers.interopRequireDefault(_jquery),_Plugin6=babelHelpers.interopRequireDefault(_Plugin5),Config=babelHelpers.interopRequireWildcard(_Config),PeityBar=function(_Plugin){function PeityBar(){return babelHelpers.classCallCheck(this,PeityBar),babelHelpers.possibleConstructorReturn(this,(PeityBar.__proto__||Object.getPrototypeOf(PeityBar)).apply(this,arguments))}return babelHelpers.inherits(PeityBar,_Plugin),babelHelpers.createClass(PeityBar,[{key:"getName",value:function(){return"peityBar"}},{key:"render",value:function(){if(_jquery2.default.fn.peity){var $el=this.$el,options=this.options;if(options.skin){var skinColors=Config.colors(options.skin);skinColors&&(options.fill=[skinColors[400]])}$el.peity("bar",options)}}}],[{key:"getDefaults",value:function(){return{delimiter:",",fill:[Config.colors("primary",400)],height:22,max:null,min:0,padding:.1,width:44}}}]),PeityBar}(_Plugin6.default);_Plugin6.default.register("peityBar",PeityBar);var PeityDonut=function(_Plugin2){function PeityDonut(){return babelHelpers.classCallCheck(this,PeityDonut),babelHelpers.possibleConstructorReturn(this,(PeityDonut.__proto__||Object.getPrototypeOf(PeityDonut)).apply(this,arguments))}return babelHelpers.inherits(PeityDonut,_Plugin2),babelHelpers.createClass(PeityDonut,[{key:"getName",value:function(){return"peityDonut"}},{key:"render",value:function(){if(_jquery2.default.fn.peity){var $el=this.$el,options=this.options;if(options.skin){var skinColors=Config.colors(options.skin);skinColors&&(options.fill=[skinColors[700],skinColors[400],skinColors[200]])}$el.peity("donut",options)}}}],[{key:"getDefaults",value:function(){return{delimiter:null,fill:[Config.colors("primary",700),Config.colors("primary",400),Config.colors("primary",200)],height:null,innerRadius:null,radius:11,width:null}}}]),PeityDonut}(_Plugin6.default);_Plugin6.default.register("peityDonut",PeityDonut);var PeityLine=function(_Plugin3){function PeityLine(){return babelHelpers.classCallCheck(this,PeityLine),babelHelpers.possibleConstructorReturn(this,(PeityLine.__proto__||Object.getPrototypeOf(PeityLine)).apply(this,arguments))}return babelHelpers.inherits(PeityLine,_Plugin3),babelHelpers.createClass(PeityLine,[{key:"getName",value:function(){return"peityLine"}},{key:"render",value:function(){if(_jquery2.default.fn.peity){var $el=this.$el,options=this.options;if(options.skin){var skinColors=Config.colors(options.skin);skinColors&&(options.fill=[skinColors[200]],options.stroke=skinColors[600])}$el.peity("line",options)}}}],[{key:"getDefaults",value:function(){return{delimiter:",",fill:[Config.colors("primary",200)],height:22,max:null,min:0,stroke:Config.colors("primary",600),strokeWidth:1,width:44}}}]),PeityLine}(_Plugin6.default);_Plugin6.default.register("peityLine",PeityLine);var PeityPie=function(_Plugin4){function PeityPie(){return babelHelpers.classCallCheck(this,PeityPie),babelHelpers.possibleConstructorReturn(this,(PeityPie.__proto__||Object.getPrototypeOf(PeityPie)).apply(this,arguments))}return babelHelpers.inherits(PeityPie,_Plugin4),babelHelpers.createClass(PeityPie,[{key:"getName",value:function(){return"peityPie"}},{key:"render",value:function(){if(_jquery2.default.fn.peity){var $el=this.$el,options=this.options;if(options.skin){var skinColors=Config.colors(options.skin);skinColors&&(options.fill=[skinColors[700],skinColors[400],skinColors[200]])}$el.peity("pie",options)}}}],[{key:"getDefaults",value:function(){return{delimiter:null,fill:[Config.colors("primary",700),Config.colors("primary",400),Config.colors("primary",200)],height:null,radius:11,width:null}}}]),PeityPie}(_Plugin6.default);_Plugin6.default.register("peityPie",PeityPie),exports.PeityBar=PeityBar,exports.PeityLine=PeityLine,exports.PeityDonut=PeityDonut,exports.PeityPie=PeityPie});